package com.pig4cloud.pig.mobile;

import com.pig4cloud.pig.common.feign.annotation.EnablePigFeignClients;
import com.pig4cloud.pig.common.job.annotation.EnablePigXxlJob;
import com.pig4cloud.pig.common.security.annotation.EnablePigResourceServer;
import com.pig4cloud.pig.common.swagger.annotation.EnablePigDoc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhouwei
 * @date 2021年08月02日 业务模块
 */
@EnablePigDoc("mobile")
@EnablePigResourceServer
@EnablePigFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@EnablePigXxlJob
@EnableTransactionManagement(proxyTargetClass = false)
public class PigMobileApiApplication {
	public static void main(String[] args) {
		SpringApplication.run(PigMobileApiApplication.class, args);
	}
}
